package com.ytjj.qmyx.supplychain.mapper;

import com.ytjj.qmyx.supplychain.common.model.request.ProductSkuKeyRequest;
import com.ytjj.qmyx.supplychain.common.model.response.BankerProductImgResponse;
import com.ytjj.qmyx.supplychain.common.model.response.BankerProductSpecResponse;
import com.ytjj.qmyx.supplychain.mapper.entity.YxBankerProductSkuKey;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface BankerProductSkuKeyMapper extends Mapper<YxBankerProductSkuKey> {

    List<ProductSkuKeyRequest> findSku(Integer productId);

    List<BankerProductImgResponse> findImg(@Param("productId") Integer productId, @Param("type") String type);

    List<BankerProductSpecResponse> findSpec(Integer productId);
}
